package com.ruoyi.compensationManagement.service;

import java.util.List;
import com.ruoyi.compensationManagement.domain.PositionSettings;

/**
 * 岗位设置Service接口
 * 
 * @author yuan
 * @date 2022-10-05
 */
public interface IPositionSettingsService 
{
    /**
     * 查询岗位设置
     * 
     * @param positionId 岗位设置主键
     * @return 岗位设置
     */
    public PositionSettings selectPositionSettingsByPositionId(Long positionId);

    /**
     * 查询岗位设置列表
     * 
     * @param positionSettings 岗位设置
     * @return 岗位设置集合
     */
    public List<PositionSettings> selectPositionSettingsList(PositionSettings positionSettings);

    /**
     * 新增岗位设置
     * 
     * @param positionSettings 岗位设置
     * @return 结果
     */
    public int insertPositionSettings(PositionSettings positionSettings);

    /**
     * 修改岗位设置
     * 
     * @param positionSettings 岗位设置
     * @return 结果
     */
    public int updatePositionSettings(PositionSettings positionSettings);

    /**
     * 批量删除岗位设置
     * 
     * @param positionIds 需要删除的岗位设置主键集合
     * @return 结果
     */
    public int deletePositionSettingsByPositionIds(Long[] positionIds);

    /**
     * 删除岗位设置信息
     * 
     * @param positionId 岗位设置主键
     * @return 结果
     */
    public int deletePositionSettingsByPositionId(Long positionId);

    /**
     * 通过用户id查找对应的岗位薪资
     * @param userId
     * @return
     */
    PositionSettings selectPositionSettingsByUserId(Long userId);
}
